Spaces:
Sleeping
Sleeping
Ben Burtenshaw
commited on
Commit
·
a89e8f6
1
Parent(s):
e36e778
reffactor app
Browse files
app.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
from
|
| 3 |
-
|
| 4 |
-
from pipeline import run
|
| 5 |
|
| 6 |
log_file = "out-file.txt"
|
| 7 |
|
|
@@ -26,8 +24,6 @@ def run():
|
|
| 26 |
yield content
|
| 27 |
|
| 28 |
|
| 29 |
-
import gradio as gr
|
| 30 |
-
from huggingface_hub import whoami
|
| 31 |
|
| 32 |
|
| 33 |
def hello(profile: gr.OAuthProfile | None) -> str:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from huggingface_hub import whoami
|
|
|
|
|
|
|
| 3 |
|
| 4 |
log_file = "out-file.txt"
|
| 5 |
|
|
|
|
| 24 |
yield content
|
| 25 |
|
| 26 |
|
|
|
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
def hello(profile: gr.OAuthProfile | None) -> str:
|