Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,11 @@ def generate_text(input_text):
|
|
33 |
cleaned_output_text = output_text.replace(input_text, "")
|
34 |
return cleaned_output_text
|
35 |
|
36 |
-
|
|
|
|
|
|
|
|
|
37 |
text_generation_interface = gr.Interface(
|
38 |
fn=generate_text,
|
39 |
inputs=[
|
@@ -41,5 +45,5 @@ text_generation_interface = gr.Interface(
|
|
41 |
],
|
42 |
outputs=gr.inputs.Textbox(label="Generated Text"),
|
43 |
title="Falcon-7B Instruct",
|
44 |
-
image=
|
45 |
).launch()
|
|
|
33 |
cleaned_output_text = output_text.replace(input_text, "")
|
34 |
return cleaned_output_text
|
35 |
|
36 |
+
logo = (
|
37 |
+
"<div >"
|
38 |
+
"<img src='ai-icon.png'alt='image One'>"
|
39 |
+
+ "</div>"
|
40 |
+
)
|
41 |
text_generation_interface = gr.Interface(
|
42 |
fn=generate_text,
|
43 |
inputs=[
|
|
|
45 |
],
|
46 |
outputs=gr.inputs.Textbox(label="Generated Text"),
|
47 |
title="Falcon-7B Instruct",
|
48 |
+
image=logo
|
49 |
).launch()
|