Spaces:
Runtime error
Runtime error
Upload app.py
Browse filesLoad my private space.
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import os
|
3 |
+
|
4 |
+
token = os.getenv('HF_TOKEN')
|
5 |
+
token2 = os.environ['HUGGINGFACEHUB_API_TOKEN']
|
6 |
+
|
7 |
+
demo = gr.load(name="avfranco/ArchitectGPT", hf_token=token, src='spaces')
|
8 |
+
demo.launch(debug=True, share=True, inbrowser=True)
|