Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,6 @@ import requests
|
|
4 |
import os
|
5 |
import json
|
6 |
|
7 |
-
os.system("pip uninstall -y gradio")
|
8 |
-
os.system("pip install gradio==3.29.0")
|
9 |
-
|
10 |
MAINTENANCE_NOTICE1 = 'Hint 1: If the app report "Something went wrong, connection error out", please turn off your proxy and retry.\nHint 2: If you upload a large size of image like 10MB, it may take some time to upload and process. Please be patient and wait.'
|
11 |
default_chatbox = []
|
12 |
NOTES = 'This app is adapted from <a href="https://modelscope.cn/models/Fengshenbang/Ziya-Visual-Lyrics-14B">https://modelscope.cn/models/Fengshenbang/Ziya-Visual-Lyrics-14B</a>. It would be recommended to check out the repo if you want to see the detail of our model. And most of the codes attach to this demo are modify from <a href="https://arxiv.org/abs/2312.05278">Lyrics</a>.'
|
@@ -103,5 +100,7 @@ def main():
|
|
103 |
|
104 |
if __name__ == '__main__':
|
105 |
print('start service')
|
|
|
|
|
106 |
print(gr.__version__)
|
107 |
main()
|
|
|
4 |
import os
|
5 |
import json
|
6 |
|
|
|
|
|
|
|
7 |
MAINTENANCE_NOTICE1 = 'Hint 1: If the app report "Something went wrong, connection error out", please turn off your proxy and retry.\nHint 2: If you upload a large size of image like 10MB, it may take some time to upload and process. Please be patient and wait.'
|
8 |
default_chatbox = []
|
9 |
NOTES = 'This app is adapted from <a href="https://modelscope.cn/models/Fengshenbang/Ziya-Visual-Lyrics-14B">https://modelscope.cn/models/Fengshenbang/Ziya-Visual-Lyrics-14B</a>. It would be recommended to check out the repo if you want to see the detail of our model. And most of the codes attach to this demo are modify from <a href="https://arxiv.org/abs/2312.05278">Lyrics</a>.'
|
|
|
100 |
|
101 |
if __name__ == '__main__':
|
102 |
print('start service')
|
103 |
+
os.system("pip uninstall -y gradio")
|
104 |
+
os.system("pip install gradio==3.29.0")
|
105 |
print(gr.__version__)
|
106 |
main()
|