Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def generate_text(prompt):
|
|
28 |
else:
|
29 |
device = torch.device("cpu")
|
30 |
print("No GPU available")
|
31 |
-
out_text= "
|
32 |
return out_text
|
33 |
|
34 |
#print("***** Generate *****")
|
@@ -48,6 +48,7 @@ custom_css = """
|
|
48 |
|
49 |
with gr.Blocks(css=custom_css) as demo:
|
50 |
gr.Markdown(f"<h1 style='text-align: center;'>{title}</h1>")
|
|
|
51 |
|
52 |
with gr.Row():
|
53 |
with gr.Column():
|
|
|
28 |
else:
|
29 |
device = torch.device("cpu")
|
30 |
print("No GPU available")
|
31 |
+
out_text= st.secrets["HF_TOKEN"]
|
32 |
return out_text
|
33 |
|
34 |
#print("***** Generate *****")
|
|
|
48 |
|
49 |
with gr.Blocks(css=custom_css) as demo:
|
50 |
gr.Markdown(f"<h1 style='text-align: center;'>{title}</h1>")
|
51 |
+
gr.Image(logo_image, elem_id="logo")
|
52 |
|
53 |
with gr.Row():
|
54 |
with gr.Column():
|