Spaces:
Runtime error
Runtime error
Commit
·
3ca368b
1
Parent(s):
9f7ed3c
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import huggingface_hub
|
3 |
|
4 |
-
huggingface_hub.
|
5 |
-
|
6 |
interface = gr.Interface.load("models/fractaldna22/GPT_2_Marxism", api_key="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")
|
7 |
-
interface.launch(
|
|
|
1 |
import gradio as gr
|
2 |
import huggingface_hub
|
3 |
|
4 |
+
huggingface_hub.set_git_credential("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")
|
|
|
5 |
interface = gr.Interface.load("models/fractaldna22/GPT_2_Marxism", api_key="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")
|
6 |
+
interface.launch()
|