Fix module 'g4f.debug' has no attribute 'get_version'

This commit is contained in:
Ramon Victor Cardoso 2024-01-03 20:50:51 -03:00
parent d72c76a142
commit 694f131d09
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@ import g4f
import g4f.api
if __name__ == "__main__":
print(f'Starting server... [g4f v-{g4f.debug.get_version()}]')
print(f'Starting server... [g4f v-{g4f.version.utils.current_version}]')
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")