Spaces:
Sleeping
Sleeping
davidgaofc
commited on
Commit
•
95d5b77
1
Parent(s):
13bcfb8
please work
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def unified_function(operation, input_text):
|
|
36 |
return result
|
37 |
|
38 |
def huggingface_login(api_key):
|
|
|
39 |
API_KEY = api_key
|
40 |
return "success!"
|
41 |
# Create the Gradio interface
|
|
|
36 |
return result
|
37 |
|
38 |
def huggingface_login(api_key):
|
39 |
+
global API_KEY
|
40 |
API_KEY = api_key
|
41 |
return "success!"
|
42 |
# Create the Gradio interface
|