Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
"""app.py
|
3 |
-
|
4 |
-
Automatically generated by Colaboratory.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/1SKjRNc67_9TZPKUGhtfiYMfcpZuMh6s0
|
8 |
-
"""
|
9 |
-
|
10 |
-
# %pip install gradio transformers -q
|
11 |
-
# %pip install nltk
|
12 |
-
|
13 |
# Import the key libraries
|
14 |
import gradio as gr
|
15 |
import torch
|
@@ -104,5 +92,4 @@ interface = gr.Interface(
|
|
104 |
)
|
105 |
|
106 |
# Launch the Gradio app
|
107 |
-
interface.launch()
|
108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Import the key libraries
|
2 |
import gradio as gr
|
3 |
import torch
|
|
|
92 |
)
|
93 |
|
94 |
# Launch the Gradio app
|
95 |
+
interface.launch()
|
|