Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- app.py +10 -0
- requirements.txt +2 -0
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import gradio as gr
|
3 |
+
demo = gr.load("Artem733733/Digital_Human2", src="spaces", hf_token=os.environ.get('hf_tok', None))
|
4 |
+
#demo = gr.load("Artem733733/Digital_Human", src="spaces", hf_token='hf_tok')
|
5 |
+
#theme=gr.themes.Default(primary_hue="yellow")
|
6 |
+
#demo = gr.load("Artem733733/Digital_Human", hf_token=os.environ.get('hf_tok', None), src="spaces",theme=theme)
|
7 |
+
#demo = gr.load("Artem733733/AI_ASSISTANT", hf_token=os.environ.get('hf_space_api_key', None), src="spaces")
|
8 |
+
demo.launch()
|
9 |
+
#test
|
10 |
+
#test
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
gradio
|
2 |
+
huggingface_hub
|