RikyXDZ commited on
Commit
15640ae
1 Parent(s): 69cd8fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -1,15 +1,5 @@
1
- import os
2
- try:
3
- import nltk
4
- except ModuleNotFoundError:
5
- os.system("pip3 install nltk")
6
- try:
7
- import transformers
8
- except ModuleNotFoundError:
9
- os.system("pip3 install transformers")
10
-
11
-
12
- import nltk
13
  import gradio as gr
14
  from transformers import AutoTokenizer, AutoModelForCausalLM
15
 
 
1
+ import lib
2
+ import nltk, torch
 
 
 
 
 
 
 
 
 
 
3
  import gradio as gr
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5