This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @title Install dependencies | |
!pip install fastapi uvicorn python-multipart transformers pyngrok | |
from fastapi import FastAPI | |
import uvicorn | |
from pyngrok import ngrok | |
import threading | |
from fastapi.middleware.cors import CORSMiddleware | |
from transformers import AutoModelForSequenceClassification, AutoTokenizer,AutoModelForSeq2SeqLM | |
import logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "r10", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node node_modules/react-native/local-cli/cli.js start", | |
"test": "jest", | |
"web": "node scripts/start.js", | |
"build": "node scripts/build.js" | |
}, |